package com.tchintech.pay.delegate;

import android.media.Image;
import android.support.v7.widget.RecyclerView;
import android.view.View;
import android.widget.Button;
import android.widget.EditText;
import android.widget.ImageView;
import android.widget.RelativeLayout;
import android.widget.TextView;

import com.tchintech.pay.R;
import com.tchintech.pay.frame.view.AppDelegate;

import butterknife.Bind;

/**
 * Created by Administrator on 2017/8/25 0025.
 */

public class PetroChinaDelegate extends AppDelegate {
    @Bind(R.id.real_1)
    RelativeLayout real_1;
    @Bind(R.id.real_2)
    RelativeLayout real_2;
    @Bind(R.id.real_3)
    RelativeLayout real_3;
    @Bind(R.id.real_4)
    RelativeLayout real_4;
    @Bind(R.id.real_5)
    RelativeLayout real_5;
    @Bind(R.id.real_6)
    RelativeLayout real_6;
    @Bind(R.id.bt_submit)
    Button bt_submit;

    @Bind(R.id.et_1)
    EditText et_1;
    @Bind(R.id.et_2)
    EditText et_2;
    @Bind(R.id.et_3)
    EditText et_3;
    @Bind(R.id.et_4)
    EditText et_4;
    @Bind(R.id.et_5)
    EditText et_5;
    @Bind(R.id.et_6)
    EditText et_6;
    @Bind(R.id.tv_title)
    TextView tv_title;
    @Bind(R.id.iv_back)
    ImageView iv_back;
    @Bind(R.id.iv_china)
    ImageView iv_china;

    @Override
    public int getRootLayoutId() {
        return R.layout.activity_petrochina;
    }

    public void setTv_title(String str) {
        tv_title.setText(str);
        iv_back.setVisibility(View.VISIBLE);
    }

    public RelativeLayout getReal(int id) {
        RelativeLayout real;
        real = get(id);
        return real;
    }

    public EditText getEdittex(int id) {
        EditText edit;
        edit = get(id);
        return edit;
    }

    public ImageView getIv_china(){
        return  iv_china;
    }
}
